package com.nnnu.orange.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class CommentStatusDto {
    @NotNull(message = "评论id不能为空")
    private Integer commentId;
    @NotNull(message = "状态不能为空")
    @Range(min = 0, max = 3, message = "状态只能是 0 到 3 的数字")
    private Integer status;
}

